package com.xy.annotaion.handler.processor;

import com.xy.annotaion.handler.common.log.LogService;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.stereotype.Component;

/**
 * @author Dell
 */
@Component
public class TestBeanFactoryPostProcessorImpl implements BeanFactoryPostProcessor, LogService {
    @Override
//    @TestLog//not OK
    public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
//        log("postProcessBeanFactory",beanFactory);
    }
}
